from django.conf.urls import url
from rest_framework.routers import DefaultRouter

from . import views

urlpatterns = [
    # url(r'^infos/$', views.AreaInfoView.as_view({"get": "list"})),
    # url(r'^infos/(?P<pk>\d+)/$',views.AreaInfoView.as_view({"get":"retrieve"})),
]
router = DefaultRouter()

router.register(r'infos', views.AreaInfoView, base_name="areas")

urlpatterns += router.urls